package com.cmol.peopledetectapp.json;

/**
 * json接口
 * 反馈建议类
 */
public class FeedBack {
    private static Integer COUNT = 0;
    /**
     * 用户ID
     */
    private Integer id;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 建议详情
     */
    private String note;

    /**
     * @param id       用户ID
     * @param userName 用户名
     * @param note     建议详情
     */
    public FeedBack(Integer id, String userName, String note) {
        this.id = id;
        this.userName = userName;
        this.note = note;
    }

    public Integer getId() {
        return id;
    }

    public void setId() {
        id = ++COUNT;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

}